﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicInformation.Domain
{
    /// <summary>
    /// 单位管理（Unit）			
    /// </summary>
    public class UnitModel:BaseEntity
    {
        /// <summary>
        /// 单位Id（主键唯一标识）
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int UnitId { get; set; }
        /// <summary>
        /// 单位编号(自动生产)
        /// </summary>
        public string UnitCode { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string UnitName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? UnitRemark { get; set; }
    }
}
